// Sunghan Cho
// 301140084
// sunghanc@sfu.ca

#ifndef COURSE_H
#define COURSE_H

#include "item.h"
#include "course.h"
#include "QString"
#include "QVariant"

class Course : public Item
{
public:
    Course();
    Course(QString name, QString semester);
    int getFieldCount();
    QString getFieldHeading(int fieldIndex);
    QVariant getFieldValue(int fieldIndex);
    bool matchesPrimaryField(QVariant value);
    QString getName();
    QString getSemester();

private:
    QString m_semester;
    QString m_name;
};

#endif // COURSE_H
